package com.pipe.servicepipe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 商品
 * </p>
 *
 * @author hetao
 * @since 2020-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PipeProduct对象", description="商品")
public class PipeProduct implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "pid", type = IdType.ID_WORKER)
    private String pid;

    private String productName;

    private String productDescription;

    private String operator;

    private BigDecimal price;

    private Date createTime;

    private Date modifiedTime;

    private Integer isDelete;


}
